
<form id="add-form" class="form-horizontal col-sm-12" role="form" data-toggle="validator" method="POST" action="">
	{:token()}
	<input type="hidden" name="row[id]" value="{$row.id}">


	<div class="col-xs-12 col-sm-6">
		<div class="form-group col-sm-10">
			<label>是否收费:</label>
			<label><input style="width: 30px;margin-top: 6px" name="row[is_charge]"
						  {eq name="row.is_charge" value="1" }checked="checked"{/eq}
						   type="radio" value="1"/>收费</label>
			<label><input style="width: 30px;margin-top: 6px" name="row[is_charge]"
						  {eq name="row.is_charge" value="2" }checked="checked"{/eq}
						  type="radio" value="2"/>不收费</label>
		</div>
	</div>
	<div class="col-xs-12 col-sm-6" id="discount_money">
		<div class="form-group col-sm-10">
			<label>优惠金额:</label>
			<input data-rule="required" class="form-control" id="total_money" placeholder="优惠金额"
				   value="{$row.discount_money}" name="row[discount_money]"  type="text">
		</div>
	</div>
	<div class="col-xs-12 col-sm-10">
		<div class="form-group col-sm-10">
			<label>备注:</label>
			<textarea class="form-control" rows="3" name="row[discount_desc]" placeholder="备注">{$row.discount_desc}</textarea>
		</div>
	</div>
	<div class="form-group layer-footer">
		<label class="control-label col-xs-12 col-sm-2"></label>
		<div class="col-xs-12 col-sm-8">
			<button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
			<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
		</div>
	</div>
</form>
